package com.sfh.sfhshopweb.service;

import com.sfh.sfhshopweb.dto.WebPage;
import com.sfh.sfhshopweb.entity.Goods;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 商品表 服务类
 * </p>
 *
 * @author kcyu
 * @since 2024-06-12
 */
public interface IGoodsService extends IService<Goods> {

    String getGoodsCoverPic(String key);
    List<Goods> searchGoodsByKeyword(String keyword);
    WebPage<Goods> queryPage(WebPage<Goods> page);
    Boolean deleteGoods(Long id);
}
